package com.tengju.motivation.domain.shared;

import lombok.Getter;

import java.util.Date;

@Getter
public class DateParseException extends RuntimeException {

    private final String dateString;
    private final Date parseDate;

    public DateParseException(String dateString) {
        super("DateParseException:" + dateString);
        this.dateString = dateString;
        this.parseDate = null;
    }

    public DateParseException() {
        super("DateParseException");
        this.dateString = null;
        this.parseDate = null;
    }
}
